package com.ruoyi.meeting.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.meeting.mapper.MeetingRemindMapper;
import com.ruoyi.meeting.domain.MeetingRemind;
import com.ruoyi.meeting.service.IMeetingRemindService;

/**
 * 会议提醒Service业务层处理
 * 
 * @author ruoyi
 * @date 2023-09-26
 */
@Service
public class MeetingRemindServiceImpl implements IMeetingRemindService 
{
    @Autowired
    private MeetingRemindMapper meetingRemindMapper;

    /**
     * 查询会议提醒
     * 
     * @param id 会议提醒主键
     * @return 会议提醒
     */
    @Override
    public MeetingRemind selectMeetingRemindById(Long id)
    {
        return meetingRemindMapper.selectMeetingRemindById(id);
    }

    /**
     * 查询会议提醒列表
     * 
     * @param meetingRemind 会议提醒
     * @return 会议提醒
     */
    @Override
    public List<MeetingRemind> selectMeetingRemindList(MeetingRemind meetingRemind)
    {
        return meetingRemindMapper.selectMeetingRemindList(meetingRemind);
    }

    /**
     * 新增会议提醒
     * 
     * @param meetingRemind 会议提醒
     * @return 结果
     */
    @Override
    public int insertMeetingRemind(MeetingRemind meetingRemind)
    {
        return meetingRemindMapper.insertMeetingRemind(meetingRemind);
    }

    /**
     * 修改会议提醒
     * 
     * @param meetingRemind 会议提醒
     * @return 结果
     */
    @Override
    public int updateMeetingRemind(MeetingRemind meetingRemind)
    {
        return meetingRemindMapper.updateMeetingRemind(meetingRemind);
    }

    /**
     * 批量删除会议提醒
     * 
     * @param ids 需要删除的会议提醒主键
     * @return 结果
     */
    @Override
    public int deleteMeetingRemindByIds(Long[] ids)
    {
        return meetingRemindMapper.deleteMeetingRemindByIds(ids);
    }

    /**
     * 删除会议提醒信息
     * 
     * @param id 会议提醒主键
     * @return 结果
     */
    @Override
    public int deleteMeetingRemindById(Long id)
    {
        return meetingRemindMapper.deleteMeetingRemindById(id);
    }
}
